package com.hyzx.qbasic.admin.controller;

import com.hyzx.qbasic.admin.model.vo.res.BaseResModel;
import com.hyzx.qbasic.admin.common.util.BaseResUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

/**
 * Created by 黄江华 on 2017/9/6
 */

@ApiIgnore
@RestController
public class WarmUpController {

    @GetMapping("/version")
    public BaseResModel<String> version() {
        return BaseResUtils.success("QBasic快速开发框架 V1.0.0");
    }

    @GetMapping("/warmup")
    public BaseResModel<String> warmup() {
        return BaseResUtils.success("ok");
    }
}
